package com.example.lottery_system.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
public class ShortMessageLoginParam extends UserLoginParam {
    @NotBlank(message = "电话号码为空")
    private String phoneNumber;

    @NotBlank(message = "验证码为空")
    private String code;
}
